﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Enquiry.aspx.cs" Inherits="CTEA_INDIA.Enquiry" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Enquiry</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function OnSelectedIndexChange() {
            int a = document.getElementById("Production");
            
            
        }</script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div class="toporagne">
        <%--<img src="Images/top_orange-strip.jpg" />--%>
        <hr size="10" color="#091247" width="900px" />
    </div>
    <%-- <div style="padding-top: 100px">
        <hr />
    </div>--%>
    <%-- <span id="idSpanMsg" runat="server" class="Label " >Thank you , We wil Contact you Soon.
                    </span>--%>
    <div class="MiddleBlackDivEnquiry">
        <table width="500px">
            <tr>
                <td>
                    <table cellpadding="5px" cellspacing="5px" border="0" style="border: 1px; border-color: #DEDE00">
                        <tr>
                            <td colspan="2" class="myaccount">
                                <asp:Label ID="Label1" runat="server" Text="ENQUIRY" CssClass="headingpage"></asp:Label><br />
                                <div class="imgstrip">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="Label">
                                Name
                            </td>
                            <td>
                                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RF_NAMe" runat="server" ErrorMessage="Please, Enter Name"
                                    CssClass="validators" ControlToValidate="txtName" Display="None"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RF_NAMe">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                                            <td class="Label">
                                                EmailID
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtEmailId" runat="server" TabIndex="1"></asp:TextBox>
                                                
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmailId"
                                                    SetFocusOnError="true" CssClass="validators" ErrorMessage="Enter Valid Email"
                                                    ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                    Display="none"></asp:RegularExpressionValidator>
                                                <asp:ValidatorCalloutExtender ID="RegularExpressionValidator1_ValidatorCalloutExtender"
                                                    runat="server" TargetControlID="RegularExpressionValidator1" />
                                            </td>
                                        </tr>
                        <tr>
                            <td class="Label " valign="top">
                                Address
                            </td>
                            <td>
                                <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please, Enter Name"
                                    CssClass="validators" ControlToValidate="txtAddress" Display="None"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RequiredFieldValidator1">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td class="Label ">
                                Contact Number
                            </td>
                            <td>
                                <asp:TextBox ID="txtContactNo" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please, Enter Contact Number"
                                    CssClass="validators" ControlToValidate="txtContactNo" Display="None"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RequiredFieldValidator2">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td class="Label ">
                                Interested Field
                            </td>
                            <td>
                                <asp:UpdatePanel ID="UpdatePanenMain" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <div>
                                            <asp:DropDownList ID="ddlInterestedField" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlInterestedField_SelectedIndexChanged">
                                                <asp:ListItem Selected="True" Text="Production " Value="Production ">
                                                </asp:ListItem>
                                                <asp:ListItem Text="Post Production" Value="PostProduction">
                                                </asp:ListItem>
                                                <asp:ListItem Text="Pre Production" Value="PreProduction">
                                                </asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="ddlPreproduction" runat="server" Visible="false" AutoPostBack="true"
                                                OnSelectedIndexChanged="ddlPreproduction_SelectedIndexChanged">
                                                <asp:ListItem Text="Selet Field here" Value="--" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Full length movies" Value="Full length movies "></asp:ListItem>
                                                <asp:ListItem Text="TV Serial" Value="TV Serial"></asp:ListItem>
                                                <asp:ListItem Text="Add film " Value="Add film "></asp:ListItem>
                                                <asp:ListItem Text="Sort film " Value="Sort film "></asp:ListItem>
                                                <asp:ListItem Text="Video albums" Value="Video albums"></asp:ListItem>
                                                <asp:ListItem Text="Documentary film " Value="Documentary film "></asp:ListItem>
                                                <asp:ListItem Text="Personal show real " Value="Personal show real "></asp:ListItem>
                                                <asp:ListItem Text="Marriage show real " Value="Marriage show real "></asp:ListItem>
                                                <asp:ListItem Text="Presentation (profile) " Value="Presentation (profile) "></asp:ListItem>
                                                <asp:ListItem Text="Artist Portfolio N show real" Value="Artist Portfolio N show real"></asp:ListItem>
                                                <asp:ListItem Text="Artist Portfolio & promotion   " Value="Artist Portfolio & promotion   "></asp:ListItem>
                                                <asp:ListItem Text="Artist placement &agreement" Value="Artist placement &agreement"></asp:ListItem>
                                                <asp:ListItem Text="Marketing & publicity" Value="Marketing & publicity"></asp:ListItem>
                                                <asp:ListItem Text="Film event management " Value="Film event management "></asp:ListItem>
                                                <asp:ListItem Text="Sponsorships marketing " Value="Sponsorships marketing "></asp:ListItem>
                                                <asp:ListItem Text="Distribution " Value="Distribution "></asp:ListItem>
                                                <asp:ListItem Text="Channel partner (franchises )" Value="Channel partner (franchises )"></asp:ListItem>
                                                <asp:ListItem Text="Finance " Value="Finance "></asp:ListItem>
                                                <asp:ListItem Text="Film direction " Value="Film direction "></asp:ListItem>
                                                <asp:ListItem Text="Film producer " Value="Film producer "></asp:ListItem>
                                                <asp:ListItem Text="Art designer " Value="Art designer "></asp:ListItem>
                                                <asp:ListItem Text="Spot dada " Value="Spot dada "></asp:ListItem>
                                                <asp:ListItem Text="EP" Value="EP"></asp:ListItem>
                                                <asp:ListItem Text="Writer" Value="Writer"></asp:ListItem>
                                                <asp:ListItem Text="Writing " Value="Writing"></asp:ListItem>
                                                <asp:ListItem Text="Theater " Value="Theater"></asp:ListItem>
                                                <asp:ListItem Text="Channel partner (franchises )" Value="Channel partner (franchises )"></asp:ListItem>
                                                <asp:ListItem Text="Education" Value="Education"></asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="ddlEducation" runat="server" Visible="false">
                                                <asp:ListItem Text="Selet Field here" Value="--" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Film Industry Awareness Workshop  " Value="Film Industry Awareness Workshop "></asp:ListItem>
                                                <asp:ListItem Text="Dancing  " Value="Dancing "></asp:ListItem>
                                                <asp:ListItem Text="Singing " Value="Singing"></asp:ListItem>
                                                <asp:ListItem Text="Modeling  " Value="Modeling "></asp:ListItem>
                                                <asp:ListItem Text="Direction " Value="Direction"></asp:ListItem>
                                                <asp:ListItem Text="Film production  " Value="Film production "></asp:ListItem>
                                                <asp:ListItem Text="Film editing  " Value="Film editing "></asp:ListItem>
                                                <asp:ListItem Text="Sound agenizing  " Value="Sound agenizing "></asp:ListItem>
                                                <asp:ListItem Text="Event management  " Value="Event management "></asp:ListItem>
                                                <asp:ListItem Text="Media & advertisement " Value="Media & advertisement"></asp:ListItem>
                                                <asp:ListItem Text="Cinematography  " Value="Cinematography "></asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please, Enter Interested Field"
                                                CssClass="validators" ControlToValidate="ddlInterestedField" Display="None"></asp:RequiredFieldValidator>
                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" TargetControlID="RequiredFieldValidator3">
                                            </asp:ValidatorCalloutExtender>
                                        </div>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="ddlInterestedField" EventName="SelectedIndexChanged" />
                                        <asp:AsyncPostBackTrigger ControlID="ddlPreproduction" EventName="SelectedIndexChanged" />
                                    </Triggers>
                                    <%--           <Triggers>s
                                        <asp:AsyncPostBackTrigger ControlID="ddlInterestedField" EventName="SelectedIndexChanged" />
                                          <asp:AsyncPostBackTrigger ControlID="ddlPreproduction" EventName="SelectedIndexChanged" />
                                    </Triggers>--%>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                            <tr>
                                <td class="Label" align="left">
                                    Location
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlLocation" runat="server" Width="170px" DataValueField="IDLocation">
                                    </asp:DropDownList>
                                </td>
                            </tr>

                        <tr>
                            <td colspan="2" align="center">
                                <asp:Button ID="btnSubmit" CssClass="btnsubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
